package com.ruoyi.service.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.base.BaseEntity;

import java.math.BigDecimal;

/**
 * 优惠电费表 service_discount
 * 
 * @author john
 * @date 2019-01-04
 */
public class Discount extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/**  */
	private Integer id;
	/** 计量点名称 */
	private String pointName;
	/** 计量点ID */
	private Integer pointId;
	/** 录入基础ID */
	private Integer basicsId;
	/** 电度电费 */
	private BigDecimal eleAccount;
	/** 基本电费 */
	private BigDecimal basicsAccount;
	/** 政府性基金及附加 */
	private BigDecimal zzJJ;
	/** 合计 */
	private BigDecimal total;

	public void setId(Integer id) 
	{
		this.id = id;
	}

	public Integer getId() 
	{
		return id;
	}
	public void setPointName(String pointName) 
	{
		this.pointName = pointName;
	}

	public String getPointName() 
	{
		return pointName;
	}
	public void setPointId(Integer pointId) 
	{
		this.pointId = pointId;
	}

	public Integer getPointId() 
	{
		return pointId;
	}
	public void setBasicsId(Integer basicsId) 
	{
		this.basicsId = basicsId;
	}

	public Integer getBasicsId() 
	{
		return basicsId;
	}
	public void setEleAccount(BigDecimal eleAccount) 
	{
		this.eleAccount = eleAccount;
	}

	public BigDecimal getEleAccount() 
	{
		return eleAccount;
	}
	public void setBasicsAccount(BigDecimal basicsAccount) 
	{
		this.basicsAccount = basicsAccount;
	}

	public BigDecimal getBasicsAccount() 
	{
		return basicsAccount;
	}
	public void setZzJJ(BigDecimal zzJJ) 
	{
		this.zzJJ = zzJJ;
	}

	public BigDecimal getZzJJ() 
	{
		return zzJJ;
	}
	public void setTotal(BigDecimal total) 
	{
		this.total = total;
	}

	public BigDecimal getTotal() 
	{
		return total;
	}

    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("pointName", getPointName())
            .append("pointId", getPointId())
            .append("basicsId", getBasicsId())
            .append("eleAccount", getEleAccount())
            .append("basicsAccount", getBasicsAccount())
            .append("zzJJ", getZzJJ())
            .append("total", getTotal())
            .toString();
    }
}
